package com.bnyy.health.bean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Author : 关炳鹏
 * Description :
 * Date : 2022/6/14
 **/
public class Limit implements Serializable {

    private int wear_id;
    private ArrayList<Item> list;

    public int getWear_id() {
        return wear_id;
    }

    public void setWear_id(int wear_id) {
        this.wear_id = wear_id;
    }

    public ArrayList<Item> getList() {
        return list;
    }

    public void setList(ArrayList<Item> list) {
        this.list = list;
    }

    public static class Item implements Serializable {
        private int type;
        private Detail daytime, night;

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public Detail getDaytime() {
            return daytime;
        }

        public void setDaytime(Detail daytime) {
            this.daytime = daytime;
        }

        public Detail getNight() {
            return night;
        }

        public void setNight(Detail night) {
            this.night = night;
        }
    }

    public static class Detail implements Serializable {
        private int is_switch;
        private Data upper, lower;

        public int getIs_switch() {
            return is_switch;
        }

        public void setIs_switch(int is_switch) {
            this.is_switch = is_switch;
        }

        public Data getUpper() {
            return upper;
        }

        public void setUpper(Data upper) {
            this.upper = upper;
        }

        public Data getLower() {
            return lower;
        }

        public void setLower(Data lower) {
            this.lower = lower;
        }
    }



    public static class Data implements Serializable {

        private Data high, low; // 血压专用

        private int max, min, value;

        public int getMax() {
            return max;
        }

        public void setMax(int max) {
            this.max = max;
        }

        public int getMin() {
            return min;
        }

        public void setMin(int min) {
            this.min = min;
        }

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }

        public Data getHigh() {
            return high;
        }

        public void setHigh(Data high) {
            this.high = high;
        }

        public Data getLow() {
            return low;
        }

        public void setLow(Data low) {
            this.low = low;
        }
    }
}
